/*
 * @Author: venom
 * @Date: 2021-03-05 18:12:12
 * @LastEditors: venom
 * @LastEditTime: 2021-03-05 19:20:39
 * @Description: 
 * @FilePath: \macor_builder\src\lib.rs
 * MIT
 */
extern crate proc_macro;
use syn::{DeriveInput,parse_macro_input};
use quote::*;
use proc_macro::TokenStream;

#[proc_macro_derive(Builder)]
pub fn derive_builder(input: TokenStream) -> TokenStream {
    let derive_input  = parse_macro_input!(input as DeriveInput);
    println!("struct name is : {}", derive_input.ident.to_token_stream());

    unimplemented!()
}


